package com.woniu.sharepark.common.service.impl;

import com.woniu.sharepark.common.dao.RoleDAO;
import com.woniu.sharepark.common.service.RoleService;
import com.woniu.sharepark.platformsystem.pojo.Role;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author SeaMonster
 * @date 2019/6/12 17:59
 * version v1.0
 */
@Service
public class RoleServiceImpl implements RoleService {

    @Resource
    private RoleDAO roleDAO;

    @Override
    public Role selectByUserRid(Integer rid) {
        return roleDAO.selectByUserRid(rid);
    }
}
